/**    
* @Title: AddJobParam.java  
* @Package com.kaver.job.core.biz.model   
* @author roc   
* @date 2020年4月15日 下午2:43:42  
* @version V1.0  
* @copyright kaver 
*/
package com.kaver.job.core.biz.model;

import java.io.Serializable;

/**  
* @ClassName: AddJobParam  
* @Description: 创建job
* @author roc  
* @date 2020年4月15日 下午2:43:42  
*    
*/
public class AddJobParam implements Serializable{

    /**
     * 
     */
    private static final long serialVersionUID = 1L;
    /**
     * 是否一次性任务
     * */
    private boolean oneCount = false;
    /**
     * 延迟执行时间
     * */
    private long delay = 0;
    
    private String appname;// 执行器名称
    
    private String jobCron;// 表达式
    
    private String jobDesc;// job说明
    
    private String executorRouteStrategy;   // 执行器路由策略
    private String executorHandler;         // 执行器，任务Handler名称
    private String executorParam;           // 执行器，任务参数
    private String executorBlockStrategy;   // 阻塞处理策略
    private int executorTimeout;            // 任务执行超时时间，单位秒
    private int executorFailRetryCount;     // 失败重试次数
    public String getAppname() {
        return appname;
    }
    public void setAppname(String appname) {
        this.appname = appname;
    }
    public String getJobCron() {
        return jobCron;
    }
    public void setJobCron(String jobCron) {
        this.jobCron = jobCron;
    }
    public String getJobDesc() {
        return jobDesc;
    }
    public void setJobDesc(String jobDesc) {
        this.jobDesc = jobDesc;
    }
    public String getExecutorRouteStrategy() {
        return executorRouteStrategy;
    }
    public void setExecutorRouteStrategy(String executorRouteStrategy) {
        this.executorRouteStrategy = executorRouteStrategy;
    }
    public String getExecutorHandler() {
        return executorHandler;
    }
    public void setExecutorHandler(String executorHandler) {
        this.executorHandler = executorHandler;
    }
    public String getExecutorParam() {
        return executorParam;
    }
    public void setExecutorParam(String executorParam) {
        this.executorParam = executorParam;
    }
    public String getExecutorBlockStrategy() {
        return executorBlockStrategy;
    }
    public void setExecutorBlockStrategy(String executorBlockStrategy) {
        this.executorBlockStrategy = executorBlockStrategy;
    }
    public int getExecutorTimeout() {
        return executorTimeout;
    }
    public void setExecutorTimeout(int executorTimeout) {
        this.executorTimeout = executorTimeout;
    }
    public int getExecutorFailRetryCount() {
        return executorFailRetryCount;
    }
    public void setExecutorFailRetryCount(int executorFailRetryCount) {
        this.executorFailRetryCount = executorFailRetryCount;
    }
    public boolean isOneCount() {
        return oneCount;
    }
    public void setOneCount(boolean oneCount) {
        this.oneCount = oneCount;
    }
    public long getDelay() {
        return delay;
    }
    public void setDelay(long delay) {
        this.delay = delay;
    }
    
    
}
